package com.sparrow.example_message.map.resp;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.sparrow.example_message.PacketId;
import com.sparrow.example_message.map.vo.MonsterVO;
import com.sparrow.socket.anno.Packet;
import java.util.ArrayList;
import java.util.List;

@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "更新怪物信息")
@Packet(msgId = PacketId.Scene.RESP_MONSTER_INFO)
public class RespMonsterInfoacket {
    @Protobuf(description = "怪物列表")
    private List<MonsterVO> monsters = new ArrayList<>();

    public List<MonsterVO> getMonsters() {
        return monsters;
    }

    public void setMonsters(List<MonsterVO> monsters) {
        this.monsters = monsters;
    }
}
